package com.pactera.miyuangroup.db.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 组织结构信息
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
@TableName("t_organization_structure")
public class OrganizationStructure extends Model<OrganizationStructure> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private String id;
    /**
     * 原始组织ID
     */
	private String originalId;
    /**
     * 组织名称
     */
	private String name;
    /**
     * 父组织结构ID
     */
	private String pid;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOriginalId() {
		return originalId;
	}

	public void setOriginalId(String originalId) {
		this.originalId = originalId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "OrganizationStructure{" +
			"id=" + id +
			", originalId=" + originalId +
			", name=" + name +
			", pid=" + pid +
			"}";
	}
}
